<div class="widget_box"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" colspan="2" bgcolor="#CCCCCC">&nbsp;友情链接：</td>
  </tr>
  <?php if($link_data) { foreach ($link_data as $lines) {?>
  <tr>
    <td width="20" height="30">&nbsp;</td>
    <td width="210"><a href="<?php echo $lines['link_url']; ?>" title="<?php echo $lines['link_note']; ?>" target="_blank"><?php echo $lines['link_name']; ?></a></td>
  </tr>
  <?php } }?>
</table>
</div>